Skip to content

[#14396] Add MagicLink logic layer methods - #14403

Open
TobyCyan wants to merge 13 commits into
TEAMMATES:masterfrom
TobyCyan:ml-logic
Open

[#14396] Add MagicLink logic layer methods#14403
TobyCyan wants to merge 13 commits into
TEAMMATES:masterfrom
TobyCyan:ml-logic

Conversation

@TobyCyan

Copy link
Copy Markdown
Contributor

Part of #14396

Outline of Solution

  • Supports the logic methods except for the email sending which will be addressed in the next PR.

Note: Review after merging #14402

@TobyCyan
TobyCyan marked this pull request as ready for review July 30, 2026 01:58
*/
static String hashToken(String token) {
Objects.requireNonNull(token);
return StringHelper.generateSha256Hmac("magic-link:" + token);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was the 'magic-link:' prefix added here? What purpose does this serve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants